package com.htgd.gardenexpo.page;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.htgd.gardenexpo.entity.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class FoodQuery  {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "关键字")
    private String keywords;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间")
    private Date releasetime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date authtime;

    @ApiModelProperty(value = "点击量")
    private Integer hit;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "素材类型")
    private Integer materialTypeId;

    @ApiModelProperty(value = "素材地址")
    private String pathUrl;

    @ApiModelProperty(value = "创建者id")
    private Integer createUserId;

    @ApiModelProperty(value = "作者")
    private String createUser;

    @ApiModelProperty(value = "审核人员id")
    private Integer authUserId;

    @ApiModelProperty(value = "审核者")
    private String authUser;


    @ApiModelProperty(value = "显示状态  0.隐藏 1.显示")
    private Integer isDisplay;

    @ApiModelProperty(value = "编辑人id")
    private Integer editorId;

    @ApiModelProperty(value = "编辑人")
    private String editorName;

    @ApiModelProperty(value = "发布人id")
    private Integer publisherId;

    @ApiModelProperty(value = "发布人id")
    private String publisherName;

    @ApiModelProperty(value = "分类")
    private String type;

    @ApiModelProperty(value = "活动地点")
    private String place;

    @ApiModelProperty(value = "商家信息")
    private String business;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    private String shopId;


    /**
     * 模糊查询
     */
    private String value="";

    /**
     * 审核状态
     */
    private String reviewStatus="5";
    /**
     * 显示状态
     */
    private Integer dispalyStatus=2;
    /**
     * 是否发到首页
     */
    private Integer isHome=2;

    /**
     * 开始时间
     */
    private String start_time="";
    /**
     * 结束时间
     */
    private String end_time="";
    /**
     * 活动时间
     */
    private String time="";
    /**
     * 页数
     */
    private Integer pageNum=1;
    /**
     * 单页数量
     */
    private Integer pageSize=10;

    /**
     * 菜单Id
     */
    private Integer menuId=0;

    /**
     * 投诉类型 1.投诉举报 2.咨询建议
     */
    private Integer complaintTypeId=1;

    /**
     * 寻人寻物发布状态 0：未发布 1：已发布
     */
    private String status;
    /**
     * 用户id
     */
    private Integer userId=0;

    /**
     * gis资源分类id
     */
    private Integer gisTypeId=0;

    /**
     * 排序条件
     */
    private String sort="";

    /**
     * 寻人寻物 0:未完成 1:已完成
     */
    private Integer xType=2;


    /**
     * 是否推荐('0':否，'1':是)
     */
    private String recommendType;

    private String startTime;
    private String endTime;
}
